package top.infopub.job.cap.service.impl;


import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.cap.dao.LoanFinDao;
import top.infopub.job.cap.domain.LoanFinDomain;
import top.infopub.job.cap.service.LoanFinService;
import top.infopub.model.cap.LoanFin;


@Service
public class LoanFinServiceImpl extends GenericServiceImpl<LoanFin, String> implements LoanFinService {

    @Autowired
    private LoanFinDao loanFinDao;

    @Override
    public GenericDao<LoanFin, String> getDao() {
        return loanFinDao;
    }

    @Override
    public List<LoanFinDomain> selectProQaOfFinAmt(Map<String, Object> where) {
        return loanFinDao.selectProQaOfFinAmt(where);
    }

    @Override
    public List<LoanFinDomain> selectAreaQaOfFinAmt(Map<String, Object> where) {
        return loanFinDao.selectAreaQaOfFinAmt(where);
    }

    @Override
    public List<LoanFinDomain> selectAllProQaOfFinAmt(Map<String, Object> where) {
        return loanFinDao.selectAllProQaOfFinAmt(where);
    }

    @Override
    public BigDecimal selectProQaOfFinSpreadMultiSum(Map<String, Object> where) {
        return loanFinDao.selectProQaOfFinSpreadMultiSum(where);
    }

    @Override
    public BigDecimal selectProQaOfFinSpreadSum(Map<String, Object> where) {
        return loanFinDao.selectProQaOfFinSpreadSum(where);
    }

}